<template>
	<view class="page" >
		<navigationBar :titleName="'用户协议'"></navigationBar>
		<!-- <uni-nav-bar left-icon="back" backgroundColor='#fff' color="#333" :title="title" ></uni-nav-bar> -->
		<web-view :src="webUrl" class="web" ></web-view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				webUrl:"https://caineng.com/zhaobiao/privacy-zhaobiao.html",
				title:'才能招标隐私声明'
			};
		},
		onLoad(op){
			let type = op.type ;
			// console.info(type);
			if(type=='service'){
				this.webUrl='https://caineng.com/law/service.html';
				this.title='才能招标服务协议';
				
			}else if(type=='privacy'){
				this.webUrl='https://caineng.com/zhaobiao/privacy-zhaobiao.html';
				this.title='才能招标隐私声明';
			}
		},
		
	}
</script>
 <style>
 	.web{
 		margin-top: 10rpx;
 	}
 </style>